﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace Slja.WEB.Finance
{
    public partial class OutputData : System.Web.UI.Page
    {
        protected int Year
        {
            get { return int.Parse(Request.QueryString["year"]); }
        }
        protected int Month
        {
            get { return int.Parse(Request.QueryString["month"]); }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            
                //Response.Clear();
                //Response.Buffer = true;
                //Response.Charset = "GB2312";
                //string name = "attachment;filename=数据筛选结果.xls";
                //Response.AppendHeader("Content-Disposition", name);
                //Response.ContentEncoding = System.Text.Encoding.GetEncoding("GB2312");
                //Response.ContentType = "application/ms-excel";
                //this.EnableViewState = false;

                //DataTable dt = new BLL.ImportData().GetJoinedData(Year, Month);
                //GridView1.DataSource = dt;
                //GridView1.DataBind();

          
        }
    }
}